package com.vito.oa.email.contact.dao;

import org.apache.ibatis.annotations.Param;

import com.vito.oa.email.model.OaJamesUser;

public interface OaJamesUserMapper {
	
	/**
	 * 添加账号
	 * @param jamesUser
	 * @return
	 */
	public int addOaJamesUser(OaJamesUser jamesUser);
	
	/**
	 * 检查账号重复
	 * @param userName
	 * @return
	 */
	public int getOaJamesUserByUserName(String userName);
	
	/**更改邮箱面
	 * 
	 * @param userName
	 * @param passWord 
	 * @return
	 */
	public boolean updateJamesUserPassWord(@Param("passWord")String passWord,@Param("userName")String userName );
}
